package com.ruoyi.basedata.service;

import java.util.List;
import com.ruoyi.basedata.domain.OmsSettlementrate;

/**
 * 结算加成比率Service接口
 * 
 * @author ptt
 * @date 2023-02-08
 */
public interface IOmsSettlementrateService 
{
    /**
     * 查询结算加成比率
     * 
     * @param id 结算加成比率主键
     * @return 结算加成比率
     */
    public OmsSettlementrate selectOmsSettlementrateById(Long id);

    /**
     * 查询结算加成比率列表
     * 
     * @param omsSettlementrate 结算加成比率
     * @return 结算加成比率集合
     */
    public List<OmsSettlementrate> selectOmsSettlementrateList(OmsSettlementrate omsSettlementrate);


    public List<Long> selectOmsSettlementrateIdList(OmsSettlementrate omsSettlementrate);



    public List<OmsSettlementrate> selectOmsSettlementrateAndEntryList(List<Long> ids);

    /**
     * 新增结算加成比率
     * 
     * @param omsSettlementrate 结算加成比率
     * @return 结果
     */
    public int insertOmsSettlementrate(OmsSettlementrate omsSettlementrate);

    /**
     * 修改结算加成比率
     * 
     * @param omsSettlementrate 结算加成比率
     * @return 结果
     */
    public int updateOmsSettlementrate(OmsSettlementrate omsSettlementrate);

    /**
     * 批量删除结算加成比率
     * 
     * @param ids 需要删除的结算加成比率主键集合
     * @return 结果
     */
    public int deleteOmsSettlementrateByIds(Long[] ids);

    /**
     * 删除结算加成比率信息
     * 
     * @param id 结算加成比率主键
     * @return 结果
     */
    public int deleteOmsSettlementrateById(Long id);
}
